package com.CST.entity.ys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 修订记录表
 * @author cw
 * @since 2023-04-27
 */
@Getter
@Setter
@TableName("YS_MODIFY_RECORDS")
@ApiModel(value = "YsModifyRecords对象", description = "数据管理修订记录表")
public class YsModifyRecords implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId("ID")
    private Integer id;

    @ApiModelProperty("编号")
    @TableField("NUM")
    private Integer num;

    @ApiModelProperty("预算科目ID")
    @TableField("SUBJECT_ID")
    private Integer subjectId;

    @ApiModelProperty("用友科目名称")
    @TableField("ACCOUNT_ID")
    private String accountName;

    @ApiModelProperty("用友科目编码")
    @TableField("ACCOUNT_CODE")
    private String accountCode;

    @ApiModelProperty("日期")
    @TableField("DTIME")
    private LocalDateTime dtime;

    @ApiModelProperty("凭证号")
    @TableField("ACCOUNT_NUM")
    private String accountNum;

    @ApiModelProperty("部门编码")
    @TableField("DEPT_CODE")
    private String deptCode;

    @ApiModelProperty("部门编码")
    @TableField("DEPT_Name")
    private String deptName;

    @ApiModelProperty("摘要")
    @TableField("DESCRIPTION")
    private String description;

    @ApiModelProperty("金额")
    @TableField("AMOUNT")
    private Double amount;

    @ApiModelProperty("院区")
    @TableField("YARD")
    private Integer yard;

    @ApiModelProperty("操作内容")
    @TableField("OPER_CONTENT")
    private String operContent;

    @ApiModelProperty("操作人")
    @TableField("OPER_PERSON")
    private String operPerson;

    @ApiModelProperty("操作时间")
    @TableField("OPER_TIME")
    private LocalDateTime operTime;

    @ApiModelProperty("是否撤销")
    @TableField("REVOKE_FLAG")
    private Integer revokeFlag;

    @ApiModelProperty("时间")
    @TableId("PERIOD")
    private Integer period;

    @ApiModelProperty("1:业务职能  2:管理职能")
    @TableField("TYPE")
    private Integer type;
}
